package cn.edu.gduf.luowowo.flight.service;

import cn.edu.gduf.luowowo.flight.domain.FlightDetail;
import cn.edu.gduf.luowowo.flight.query.FlightQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IFlightService {
    /**
     * 查询满足条件的航班机票信息
     * @param qo
     * @return
     */
    List<FlightDetail> query(FlightQueryObject qo);

    /**
     * 获取一趟航班的具体信息
     * @param fid
     * @return
     */
    FlightDetail get(Long fid);
}
